package com.qianji.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ParticipationRecordDto implements Serializable {

    public ParticipationRecordDto(){}

    public ParticipationRecordDto(Long activityId){
        this.activityId = activityId;
    }

    private Long id;

    private Long activityId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

}
